package gg.zsw.datasource.demo.kafka;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Component;

/**
 * 作为数据管理器，不再包含抽象，一切都将是具体的
 * 仅仅是吧泛型具体化而已，其中包含的逻辑都已经在父类中定义好了
 *
 * @author zhou.sw
 * @Date 2020/6/30 12:35
 */
@Component
@ConditionalOnProperty(prefix = "dataSource", name = "finalType", havingValue = "Message", matchIfMissing = true)
public class DemoMessageManager extends MessageManager<MessageObserver> {

}
